package org.example.business.endpoint.http.event.message;

import lombok.Data;

@Data
public class HttpMsg {
    private String msgId;
    private String socketId;
    private HttpReq httpReq;
    private HttpRsp httpRsp;

    public String toString(){

        StringBuilder builder = new StringBuilder();

        builder.append("HttpMsg(");

        builder.append("msgId: ").append(getMsgId());
        builder.append(", socketId: ").append(getSocketId());
        builder.append(", reqMsg: ").append(getHttpReq());
        builder.append(", rspMsg: ").append(getHttpRsp());

        builder.append(")");

        return builder.toString();

    }

}
